#!/usr/bin/env python
# encoding: utf-8

import numpy as np

from argparse import ArgumentParser
import torch
import numpy as np

from pytorch_lightning import LightningModule, Trainer
from openasv import Model

if __name__ == "__main__":
    parser = ArgumentParser()
    parser = Trainer.add_argparse_args(parser)
    parser = Model.add_model_specific_args(parser)
    args = parser.parse_args()
    model = Model.load_from_checkpoint(checkpoint_path=args.checkpoint_path)

    for data in
    xvector = model.extract_speaker_embedding(data)
